﻿
namespace B303Langf.Parser.AST
{
   public class VariablePrimaryExpression : IdentifierPrimaryExpression, ISupportsVariableDeclaration
   {
      public VariablePrimaryExpression( Identifier identifier )
         : base( identifier )
      {
      }

      [TraverseIgnore]
      public VariableDeclaration Declaration
      {
         get;
         set;
      }

      public override object Visit( IVisitor v, object obj )
      {
         return v.VisitVariablePrimaryExpression( this, obj );
      }
   }
}